﻿using System.Collections.Generic;
using System.Runtime.InteropServices;
using todo.Model;

namespace todo.Interop
{
    [ComVisible(true)]
    public class Reminders
    {
        private List<Reminder> _reminders;

        public Reminders()
        {
            _reminders = new List<Reminder>();
        }

        public void Add(Reminder reminder)
        {
            _reminders.Add(reminder);
        }

        [ComVisible(false)]
        public List<Reminder> GetList()
        {
            return _reminders;
        }
    }
}